<?php $this->load->view('common/admin_header');?>
<div class="block">
  <div class="block_head">
    <div class="bheadl"></div>
    <div class="bheadr"></div>
    <h2><?=$lang['admin_lable_8']?></h2>
  </div>
  <!-- .block_head ends -->
  <div class="block_content">
    <p class="breadcrumb"><?=$lang['global_lable_14']?> &raquo; <a href="<?=site_url('admins/index')?>"><?=$lang['global_lable_11']?></a> &raquo; <?=$lang['admin_lable_1']?> &raquo; <strong><?=$lang['admin_lable_8']?></strong></p>
    <?php $this->load->view('common/notify');?>
      <table cellpadding="0" cellspacing="0" width="100%" class="sortable">
        <thead>
          <tr>
            <th><?=$lang['admin_lable_9']?></a></th>
            <th><?=$lang['admin_lable_10']?></th>
            <th><?=$lang['global_lable_16']?></th>
            <th><?=$lang['global_lable_17']?></th>
            <th><?=$lang['global_lable_18']?></th>
            <th style="text-align:right;"><?=$lang['global_lable_21']?></th>
          </tr>
        </thead>
        <tbody class="table">
          <?php if($lists):?>
            <?php foreach ($lists as $key => $vo): ?>
               <td> <?php echo $vo->code; ?></td>
               <td> <?php echo $vo->name; ?></td>
               <td> <?php echo $vo->status== 1 ? $lang['global_lable_37'] : $lang['global_lable_38']; ?></td>
               <td> <?php echo $vo->sort; ?></td>
               <td> <?php echo date('Y-m-d H:i',$vo->addtime); ?></td>
               <td style="text-align:right;"> <a href="<?php echo base_url('admins/pays/setup?code='.$vo->code)?>"><?=$lang['admin_lable_11']?></a></td>
            <?php endforeach ?>
          <?php endif;?>
        </tbody>
      </table>
      <!-- .tableactions ends -->
      <!-- .pagination ends -->
  </div>
  <!-- .block_content ends -->
  <div class="bendl"></div>
  <div class="bendr"></div>
</div>
<!-- .block ends -->
<?php $this->load->view('common/admin_footer');?>